% Remove 'In:' for 'article' biblatex refs
\usepackage{biblatex}
\renewbibmacro{in:}{%
  \ifentrytype{article}{}{%
  \printtext{\bibstring{in}\intitlepunct}}}

% % % % From <http://tex.stackexchange.com/questions/81569/biblatex-parentheses-around-the-volume-number-of-an-article>
\renewbibmacro*{volume+number+eid}{%
  \printfield{volume}%
%  \setunit*{\adddot}% DELETED
%  \setunit*{\addnbspace}% NEW (optional); there's also \addnbthinspace
  \printfield{number}%
  \setunit{\addcomma\space}%
  \printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}


% % % % From <http://tex.stackexchange.com/questions/12806/guidelines-for-customizing-biblatex-styles>.

\renewcommand*{\newunitpunct}{\addcomma\space}


% % % % From <http://tex.stackexchange.com/questions/141798/biblatex-how-to-add-colon-after-volume?rq=1>

\renewcommand*{\bibpagespunct}{\addcolon\space}


% % % % From <http://tex.stackexchange.com/questions/40023/biblatex-no-pages-for-article>

\DeclareFieldFormat[article]{pages}{#1}%

\DeclareFieldFormat[incollection]{pages}{#1}%


% % % % From <http://tex.stackexchange.com/questions/12254/biblatex-how-to-remove-the-parentheses-around-the-year-in-authoryear-style>

\renewbibmacro*{date+extrayear}{%
    \iffieldundef{year}
      {}
      {\printtext{%
     \addperiod\space\printfield{labelyear}%
     \printfield{extrayear}}
     \addperiod\space
     }
}


% % % % From <http://tex.stackexchange.com/questions/134063/how-to-add-a-comma-between-author-and-year>

\renewcommand*{\nameyeardelim}{\space}


% % % % From <http://tex.stackexchange.com/questions/53050/biblatex-how-to-omit-p-at-cite>

\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}


%%% Make 'forthcoming' work with pubstate
\DeclareLabeldate{%
  \field{date}
  \field{eventdate}
  \field{origdate}
%  \field{urldate}
  \field{pubstate}
  \literal{nodate}
}
